<%= stylesheet_link_tag 'pagination' %>

<% if logged_in? %>
<div style="float: right;">
  <%= link_to image_tag("/images/new_resource.png"), new_resource_path %>
</div>
<% end %>

<% @resources.each do |r| %>
  <%= render :partial => 'resources/resource', :object => r %>
  <br/>
  <hr/>
  <br/><br/>
<% end %>

<br />

<%= will_paginate @resources, :class => "flickr_pagination" %>